package com.proxy.autoclick.common.util;

import org.springframework.context.ApplicationContext;

public class SpringBeanUtil {
	
	private static ApplicationContext CONTEXT;
	
	public static Object getSpringBean(String beanName)
	{
		return CONTEXT.getBean(beanName);
	}
	
	public static void setApplicationContext(ApplicationContext applicationContext)
	{
		CONTEXT = applicationContext;
	}

}
